import Vue from 'vue'
import Router from 'vue-router'


Vue.use(Router)

import homecontainer from './components/tabbar/homecontainer.vue'
import membercontainer from './components/tabbar/membercontainer.vue'
import searchcontainer from './components/tabbar/searchcontainer.vue'
import shopcarcontainer from './components/tabbar/shopcarcontainer.vue'

export default new Router({
  mode: 'history',
  base: process.env.BASE_URL,
  routes: [
    {path:'/home',component:homecontainer},
    {path:'/search',component:searchcontainer},
    {path:'/member',component:membercontainer},
    {path:'/shopcar',component:shopcarcontainer}
  ],
  linkActiveClass:'mui-active'
})
